package com.ffcs.cn.action.labelBase.output;

import com.supermap.desktop.core.Application;
import com.supermap.desktop.core.Interface.IBaseItem;
import com.supermap.desktop.core.enums.InfoType;
import com.supermap.desktop.core.implement.CtrlAction;

/**
 * 输出链接
 *
  */
public class CtrlActionOutputHyperLink extends CtrlAction {

	public CtrlActionOutputHyperLink(IBaseItem caller) {
		super(caller);
	}

	@Override
	protected void run() {
		// 输出一个外部网址
		Application.getActiveApplication().getOutput().output("www.baidu.com", InfoType.Hyperlink);
		// 输出一个文件目录
		Application.getActiveApplication().getOutput().output("D:\\", InfoType.Hyperlink);
	}
}
